package com.gua.jbs.service;

import java.util.*;

import com.gua.jbs.bean.ProductBean;
import com.gua.jbs.pojo.Jbspit;
import com.gua.jbs.utility.ApplicationException;

public interface IProductService extends IBaseService {

	String addProduct(ProductBean productBean) throws ApplicationException;

	boolean updateProduct(ProductBean productBean, String prodId)
			throws ApplicationException;

	boolean deleteProduct(String prodId) throws ApplicationException;

	ProductBean getProductByCode(String productCode)
			throws ApplicationException;

	List<Jbspit> getProductsByDateFilter(String fromDate, String toDate)
			throws ApplicationException;

	Map<Integer, Map<String, String>> getProductsType()
			throws ApplicationException;

	Map<Integer, Map<String, String>> getProductsSubType()
			throws ApplicationException;

	Map<Integer, Map<String, String>> getProductsPolish()
			throws ApplicationException;

	Map<Integer, Map<String, String>> getProductsColor()
			throws ApplicationException;

	Map<Integer, Map<String, String>> getProductsSize()
			throws ApplicationException;

	String getGeneratorCounter() throws ApplicationException;
	
	boolean updateGeneratorCounter(String counter) throws ApplicationException;
}
